using System;
using System.Collections.Generic;
using System.Text;

namespace NetSpider.Retrieval
{
    public interface IFetchRequest
    {
        Uri RequestedUri { get; }
        void Update(IRetrievalResult result);
        IRetrievalResult[] GetRetrievalResults();
        bool IsReferred { get; }
        Uri ReferredByUri { get; }
    }

    public interface IRetrievalResult
    {
        bool Success { get; }
        IContent GetContent();

    }
}
